home *** CD-ROM | disk | FTP | other *** search
- Path: news.ais.net!usenet
- From: joshez@ais.net (Joe)
- Newsgroups: comp.lang.c
- Subject: Re: atoi
- Date: 7 Jan 1996 05:12:32 GMT
- Organization: American Information Systems, Inc.
- Message-ID: <4cnko0$3u3@news.ais.net>
- References: <4cl55i$5bc@news-e2a.gnn.com>
- NNTP-Posting-Host: sch-host18.dialup.ais.net
- X-Newsreader: WinVN 0.92.2
-
-
- >i know its a dumb question but i really just dont understand
- >this function.
-
- Follow this:
-
- int number ;
- char string[4] = "123";
-
- ...
- ...
- ...
-
- number = atoi(string);
-
-
- String "123" is now integer that can be mathematicaly manipulated.
-
- That's all to it.
-
- --joe
-